<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
categories maintenance<br/>
${msg}
<form:form method="post" action="${pageContext.request.contextPath}/maintenance/categories/save" commandName="category">
 
    <table>
    <tr>
        <td><form:label path="name">Name:</form:label></td>
        <td><form:input path="name" /></td> 
    </tr>
    <tr>
        <td><form:label path="description">Description:</form:label></td>
        <td><form:input path="description" /></td>
    </tr>
    <tr>
        <td><form:label path="approved">Approved:</form:label></td>
        <td><form:checkbox path="approved"/></td>
    </tr>
    <tr>
        <td colspan="2">
            <input type="submit" value="Submit"/>
            <form:input path="categoriesId" />
        </td>
    </tr>
    </table>
    
</form:form>